package org.red_cross_service.domain.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain =true)
public class TrainingInfo {
    @ExcelProperty(value = "培训地点")
    @ColumnWidth(20)
    @TableField(exist = false)
    private String address;

    @ExcelProperty(value = "培训时间")
    @ColumnWidth(20)
    @TableField(exist = false)
    private String date;

    @TableField(exist = false)
    @ExcelIgnore
    private String startDate;

    @TableField(exist = false)
    @ExcelIgnore
    private String endDate;

    @ExcelIgnore
    @TableField(exist = false)
    private String longitude;

    @ExcelIgnore
    @TableField(exist = false)
    private String latitude;
}
